import Vue from 'vue'
import VueRouter from 'vue-router'
import Movie from '../pages/Movie/index.vue'
import Music from '../pages/Music/index.vue'
import Home from '../pages/Home/index.vue'

Vue.use(VueRouter);
const routes = [
    { path: '/movie', component: Movie },
    { path: '/music', component: Music },
    { path: '/home', component: Home },
]
const router = new VueRouter({
    routes,
    mode: 'history'
})
export default router;